package com.sf.fy.uav.common.response.order;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@JsonIgnoreProperties(value = "handler")
public class SpecialPricingResp implements Serializable{

    private static final long serialVersionUID = 5898406443326935782L;

    private String id;

    @ApiModelProperty("起飞航站")
    private String takeoffCode;

    @ApiModelProperty("降落航站")
    private String landingCode;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("特殊价格")
    private BigDecimal price;

    @ApiModelProperty("是否双向")
    private Byte isItBidirectional;

    @ApiModelProperty("处理人")
    private String processedBy;

    @ApiModelProperty("起飞航站名")
    private String takeoffName;

    @ApiModelProperty("降落航站名")
    private String landingName;

    /**
     * 价格表外键id
     */
    private String pricingId;

}
